/*    */ package com.zimbra.cs.redolog.op;
/*    */ 
/*    */ import com.zimbra.cs.mailbox.MailItem.Type;
/*    */ import com.zimbra.cs.mailbox.MailboxOperation;
/*    */ import com.zimbra.cs.redolog.RedoLogInput;
/*    */ import com.zimbra.cs.redolog.RedoLogOutput;
/*    */ import java.io.IOException;
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ public class RenameFolder
/*    */   extends RenameItem
/*    */ {
/*    */   public RenameFolder()
/*    */   {
/* 33 */     this.mOperation = MailboxOperation.RenameFolder;
/* 34 */     this.type = MailItem.Type.FOLDER;
/*    */   }
/*    */   
/*    */   public RenameFolder(int mailboxId, int id, String name, int parentId) {
/* 38 */     super(mailboxId, id, MailItem.Type.FOLDER, name, parentId);
/* 39 */     this.mOperation = MailboxOperation.RenameFolder;
/*    */   }
/*    */   
/*    */   protected void serializeData(RedoLogOutput out) throws IOException
/*    */   {
/* 44 */     out.writeInt(this.mId);
/* 45 */     out.writeInt(this.mFolderId);
/* 46 */     out.writeUTF(this.mName);
/*    */   }
/*    */   
/*    */   protected void deserializeData(RedoLogInput in) throws IOException
/*    */   {
/* 51 */     this.mId = in.readInt();
/* 52 */     this.mFolderId = in.readInt();
/* 53 */     this.mName = in.readUTF();
/*    */   }
/*    */ }


/* Location:              /home/mint/zimbrastore.jar!/com/zimbra/cs/redolog/op/RenameFolder.class
 * Java compiler version: 7 (51.0)
 * JD-Core Version:       0.7.1
 */